package oa.hleast.xswl.pojo.vo.oms;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import oa.hleast.common.base.BaseVO;
import oa.hleast.xswl.pojo.domain.UmsAddress;
import oa.hleast.xswl.pojo.domain.pms.PmsUserCoupon;
import oa.hleast.xswl.pojo.dto.oms.OrderItemDTO;
import oa.hleast.xswl.pojo.vo.store.BaseStoreInfo;

import java.util.List;


@Data
public class OrderConfirmVO extends BaseVO {

    private String orderToken;

    private List<OrderItemDTO> orderItems;

    private List<UmsAddress> addresses;

    private List<PmsUserCoupon> userCoupons;

    private BaseStoreInfo storeInfo;

    @ApiModelProperty("0: 商城订单 1： 积分订单 2：限时购订单 3: 拼组团订单 4: 众筹订单")
    private Integer orderType;
    @ApiModelProperty("相关Id, 根据sourceType传递不同的值， 商城为null， 积分订单为积分物品id， 营销场订单为营销场id")
    private Long relativeId;

}
